<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Simple Login App</title>
</head>
<body>
<div>
	<esi:try>
		<esi:attempt>
			<esi:include src="/user/welcome/$(HTTP_COOKIE{id})" max-age="600"/>
		</esi:attempt>
		<esi:except>
			<esi:include src="/user/login" max-age="600"/>
		</esi:except>
	</esi:try>
</div>
<div>
	<%= @content_for_layout %>
</div>
</body>
</html>
